<?php

namespace App\Services;

class BaseServices
{

    protected static $instance;

    public static function getInstance( ){

        if ( static::$instance instanceof static ){

            return static::$instance;
        }

        static::$instance = new static();

        return static::$instance;
    }

    private function __construct()
    {
    }

    private function __clone()
    {
        // TODO: Implement __clone() method.
    }

}